import type { Metadata } from 'next';
// import { Inter } from 'next/font/google';
import { Navbar } from '@/components/navbar';
import { Footer } from '@/components/footer';
import './globals.css';

// const inter = Inter({ subsets: ['latin'] });

export const metadata: Metadata = {
  title: '@pvfhv/react-query-extend',
  description: '@pvfhv/react-query-extend使用说明',
};

export default function RootLayout({
  children,
}: Readonly<{
  children: React.ReactNode;
}>) {
  return (
    <html lang="en">
      <body>
        <div className="w-full my-2 px-6 flex justify-center shadow">
          <Navbar />
        </div>
        <div className="grow flex">{children}</div>
        <div className="w-full my-2 px-6 flex justify-center">
          <Footer />
        </div>
      </body>
    </html>
  );
}
